#include "stdafx.h"
#include "detail/bmock_location.hpp"

namespace std {
	std::ostream &operator <<(std::ostream &os,const bmock::location &loc) {
		size_t index = loc.first.find_last_of("\\");
		if ( index == std::string::npos )
			index = loc.first.find_last_of("/");
		os << "\"" << loc.first.substr(index + 1) << "\"" << ',' << loc.second; 
		return os;
	}
}

